package cn.batch.daemon.hibernate.dao;

// Generated 2012-10-29 14:03:03 by Hibernate Tools 3.4.0.CR1

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import cn.batch.daemon.hibernate.bean.PbocErrorCust;

/**
 * Home object for domain model class PbocSummary.
 * 
 * @see cn.batch.daemon.hibernate.bean.PbocSummary
 * @author Hibernate Tools
 */
public class PbocErrorCustDao extends HibernateDaoSupport {
	private static final Log log = LogFactory.getLog(PbocErrorCustDao.class);

	protected void initDao() {
		// do nothing
	}

	public void save(PbocErrorCust transientInstance) {
		log.debug("saving PbocSummary instance");
		try {
			getHibernateTemplate().save(transientInstance);
			log.debug("save successful");
		} catch (RuntimeException re) {
			log.error("save failed", re);
			throw re;
		}
	}
}
